package com.qqtech.qquan.sms.service;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.qqtech.core.frame.dao.BaseDao;
import com.qqtech.core.frame.service.BaseServiceImpl;

import com.qqtech.qquan.sms.dao.SmsSysParamDao;
import com.qqtech.qquan.sms.model.*;

@Service
public class SmsSysParamServiceImpl extends BaseServiceImpl<SmsSysParam>
		implements SmsSysParamService {
	public static final Logger log = LoggerFactory.getLogger(SmsSysParamServiceImpl.class);
	
	@Resource
	private SmsSysParamDao smsSysParamDao;

	@Override
	protected BaseDao<SmsSysParam> getBaseDao() {
		return smsSysParamDao;
	}
	
	@Override
	public SmsSysParam getByKey(java.lang.String key) {
		return smsSysParamDao.getByKey(key);
	}	
}